package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2023/12/23
*/
@Data
@ApiModel("问诊文字聊天记录")
@Table(name = "tbl_booking_text_based")
@NoArgsConstructor
@AllArgsConstructor
public class TblBookingTextBased extends BaseEntity {
    @Column(name = "booking_id")
    private String bookingId;

    /**
     * 医生端勾选，0否，1是
     */
    @Column(name = "follow_up_action")
    @ApiModelProperty("医生端勾选，0否，1是")
    private Integer followUpAction;

    @Column(name = "begin_chat_date")
    private Date beginChatDate;

    @Column(name = "begin_chat_date_utc")
    private Date beginChatDateUtc;

    /**
     * 记录的所有内容，示例:[{"Timetoken":16951861128048521,"Meta":"","Actions":null,"Uuid":"patient_be8a8730-dbf7-415c-abed-9e7eb3f19a12","MessageType":0,"Entry":{"type":"welcome","content":"Welcome to WhiteCoat Text-Based mental wellness session, our certified mental health professional will be with you shortly. To get started, tell us how you are feeling today.","file":null}},{"Timetoken":16951861133884832,"Meta":"","Actions":null,"Uuid":"patient_be8a8730-dbf7-415c-abed-9e7eb3f19a12","MessageType":0,"Entry":{"type":"join","content":"Patient has joined the chat.","file":null}},{"Timetoken":16951861246508614,"Meta":"","Actions":null,"Uuid":"doctor_768d69fa-c8c0-45c7-8e2b-e3737d8d8a59","MessageType":0,"Entry":{"type":"message","content":"hello","file":null}},{"Timetoken":16951861299890992,"Meta":"","Actions":null,"Uuid":"patient_be8a8730-dbf7-415c-abed-9e7eb3f19a12","MessageType":0,"Entry":{"type":"message","content":"Y","file":null}}]
     */
    @ApiModelProperty("记录的所有内容，示例:")//[{"Timetoken":16951861128048521,"Meta":"","Actions":null,"Uuid":"patient_be8a8730-dbf7-415c-abed-9e7eb3f19a12","MessageType":0,"Entry":{"type":"welcome","content":"Welcome to WhiteCoat Text-Based mental wellness session, our certified mental health professional will be with you shortly. To get started, tell us how you are feeling today.","file":null}},{"Timetoken":16951861133884832,"Meta":"","Actions":null,"Uuid":"patient_be8a8730-dbf7-415c-abed-9e7eb3f19a12","MessageType":0,"Entry":{"type":"join","content":"Patient has joined the chat.","file":null}},{"Timetoken":16951861246508614,"Meta":"","Actions":null,"Uuid":"doctor_768d69fa-c8c0-45c7-8e2b-e3737d8d8a59","MessageType":0,"Entry":{"type":"message","content":"hello","file":null}},{"Timetoken":16951861299890992,"Meta":"","Actions":null,"Uuid":"patient_be8a8730-dbf7-415c-abed-9e7eb3f19a12","MessageType":0,"Entry":{"type":"message","content":"Y","file":null}}]
    private String content;
}